home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / INFO / DIAGTXT.ZIP / MEM.TXT < prev   
Text File  |  1986-12-12  |  12KB  |  325 lines

  1.  
  2.  
  3.  
  4.                               Diagnosing Memory Problems
  5.                                            by
  6.                                       Arnold Kishi
  7.                                  Hawaii PC Users Group
  8.                          [as updated by Jerry Schneider, CPCUG]
  9.        
  10.       If you encounter the message "parity error" while operating your PC, a
  11.        malfunction has occurred somewhere in the PC's memory (RAM).  In many
  12.        instances, a parity error can be traced to a defective RAM chip or one
  13.        that is seated poorly in its socket.
  14.        
  15.       To find the cause of the parity error, turn off the PC, wait about five
  16.        seconds, and turn it on again.  After flipping the power switch on, the
  17.        PC automatically runs a series of diagnostics which tests different
  18.        parts of the system.  If a memory problem exists, a PARITY CHECK 1 or
  19.        PARITY CHECK 2 error message will appear.  This article will help you
  20.        interpret these error messages, isolate defective memory chips, and
  21.        correct the situation.
  22.        
  23.  
  24.       System Board Memory
  25.        
  26.       Early PCs have system boards which hold only 64K of RAM.  These system
  27.        boards have four parallel rows (or banks) of nine 16K 4116 RAM chips.
  28.        Newer PCs and XTs with 256K system boards have four parallel rows of
  29.        nine 64K 4164 RAM chips.  In both cases, each row has eight chips for
  30.        memory (data bits) and one for parity checking (parity bit).
  31.        
  32.       When facing the PC chassis from the front, the row of chips closest to
  33.        the front is designated row 3, with the next row being row 2, then row
  34.        1, and row 0 next to the expansion slots.  In each row or bank, the
  35.        chip on the extreme left, slightly separated from the data bits, is the
  36.        parity bit chip.
  37.        
  38.  
  39.       Expansion Board Memory
  40.        
  41.       The amount of memory contained on expansion boards varies widely from
  42.        manufacturer to manufacturer.  While the early expansion memory boards
  43.        only contained 64K memory, the current standard seems to be memory
  44.        boards in one of three configurations:  256K, 384K, or 512K.  Most
  45.        memory boards still use the 64K 4164 RAM chip, although use of the
  46.        newer 256K 41256 RAM chip has become more prevalent as its
  47.        availability has increased and unit cost has dropped substantially
  48.        (from $60/chip to $7/chip during the past six months).  The
  49.        introduction of 80286-based computers like the AT has also impacted the
  50.        popularity of mega-memory expansion cards because the 80286 can address
  51.        up to 16 megabytes of RAM, as compared to the 1 megabyte limitation of
  52.        8088-based PCs.
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                                          1
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.       To simplify matters, we will limit our discussion here to those
  71.        expansion memory boards that use the 64K RAM chips.  In general, these
  72.        expansion boards comprise from four (256K) to eight (512K) parallel
  73.        rows of nine 64K memory chips.  The rows are usually arranged
  74.        horizontally, numbered from 1 to 8, and are populated sequentially from
  75.        right to left (row 1 is on the extreme right; row 8 on the extreme
  76.        left).
  77.        
  78.  
  79.       Memory Error Messages
  80.        
  81.       Now that you know which row is where and its "numeric" position
  82.        indicator, you can begin to isolate which chip may be causing the
  83.        parity error.
  84.        
  85.       If your computer has a memory problem, a memory error message will
  86.        appear on the monitor during the start-up diagnostic (Power-On Self
  87.        Test) or when performing system diagnostics.  This memory error message
  88.        consists of two parts:  a four-digit error code followed by the numbers
  89.        201, e.g. 3040 201; and either a PARITY CHECK 1 or PARITY CHECK 2
  90.        message.
  91.        
  92.       A PARITY CHECK 1 message indicates that the memory error was detected
  93.        on the system board memory; a PARITY CHECK 2 message identifies a
  94.        memory error on a memory expansion board.
  95.        
  96.  
  97.       PARITY CHECK 1 -- System Board Memory Errors
  98.        
  99.       The first number of the memory error code indicates which 64K bank of
  100.        memory is involved.  On PCs with 256K system boards, this can be rows
  101.        0, 1, 2, or 3.  On 64K system board PCs, the number 0 represents the
  102.        entire 64K bank of 36 16K chips.
  103.        
  104.       For PCs with 64K system boards, the second digit can be 0, 4, 8, or C,
  105.        and points to the 16K bank within the 64K which is failing; 0 is row
  106.        0, 4 is row 1, 8 is row 2, and C is row 3.  In contrast, for PCs with
  107.        256K system boards, the second digit of the error message identifies
  108.        the 4K page in the memory chip that is failing; this number is not
  109.        needed to identify the problem chip and should be ignored.
  110.        
  111.       The third and fourth digits represent which bit position (or RAM chip)
  112.        in the 64K row is causing the error condition.  This number represents
  113.        the hexadecimal address of the chip within the row.
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.                                          2
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.       Table 1 provides the address for each of the chips on a 64K or 256K
  137.        system board:
  138.        
  139.         Bank     64K    256K   Parity  Bit  Bit  Bit  Bit  Bit  Bit  Bit  Bit
  140.         Number  System  System   Bit     0    1    2    3    4    5    6    7
  141.        
  142.           0       00      0x      00     01   02   04   08   10   20   40   80
  143.           1       04      1x      00     01   02   04   08   10   20   40   80
  144.           2       08      2x      00     01   02   04   08   10   20   40   80
  145.           3       0C      3x      00     01   02   04   08   10   20   40   80
  146.        
  147.                                  M   E   M   O   R   Y      C   H   I   P   S
  148.        
  149.                                      F R O N T    O F    C O M P U T E R
  150.        
  151.         Table 1.  System Board Memory Addresses.
  152.        
  153.       Using the error message example given earlier, 3040  201, we can
  154.        quickly identify the faulty chip as the eighth chip (Bit 6) in the
  155.        first row from the front (Bank 3) of a 256K system board.
  156.        
  157.  
  158.       PARITY CHECK 2 -- Expansion Board Memory Errors
  159.        
  160.       The procedures for diagnosing errors in memory contained on expansion
  161.        boards is similar to that used for system board memory diagnosis.
  162.        
  163.       The first number of the memory error code indicates which 64K bank of
  164.        memory is involved.  On PCs with 256K system boards, this can be row 4
  165.        or greater; on 64K system board PCs, row 1 or greater.
  166.        
  167.       For both 64K and 256K system board PCs, the second digit is not used
  168.        and should be ignored.  The third and fourth digits contain the
  169.        hexadecimal address (within the row) of the problem memory chip.
  170.        
  171.       Because there are numerous third-party manufacturers of expansion
  172.        memory boards and because each manufacturer may use a different
  173.        configuration and/or bank numbering scheme, the rules for
  174.        identifying errant memory chip addresses for your expansion board might
  175.        be different.  You should check the documentation provided with your
  176.        expansion board as reference for proper diagnosis of expansion board
  177.        memory problems.
  178.        
  179.       For demonstration purposes, however, the following example uses a 384K
  180.        memory expansion board (AST Six Pak Plus), configured with six banks of
  181.        chips, numbered 1 to 6, from right to left.
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.                                          3
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.       Table 2 provides the address for each of the chips on the expansion
  203.        memory card.  Notice that the starting address for the rows of memory
  204.        chips is different for the 64K and 256K system boards.  This is due to
  205.        the fact that the expansion board rows begin addressing where the
  206.        system board stops:  for the 64K board, starting address is 1x; the
  207.        starting address for the 256K system board is 4x (x can be any number).
  208.        
  209.  
  210.       Bank No.          6    5    4    3    2    1
  211.        
  212.       64K System       6x   5x   4x   3x   2x   1x
  213.        
  214.       256K System      9x   8x   7x   6x   5x   4x
  215.        ____________________________________________
  216.        
  217.       Parity Bit       00   00   00   00   00   00      M
  218.        
  219.       Bit 7            80   80   80   80   80   80      E
  220.        
  221.       Bit 6            40   40   40   40   40   40      M
  222.        
  223.       Bit 5            20   20   20   20   20   20      O
  224.        
  225.       Bit 4            10   10   10   10   10   10      R
  226.        
  227.       Bit 3            08   08   08   08   08   08      Y
  228.        
  229.       Bit 2            04   04   04   04   04   04      C
  230.                                                         H
  231.       Bit 1            02   02   02   02   02   02      I
  232.                                                         P
  233.       Bit 0            01   01   01   01   01   01      S
  234.        
  235.                         BOTTOM OF EXPANSION BOARD
  236.        
  237.        Table 2.  Expansion Board Memory Addresses.
  238.  
  239.       Using the above table, we can see that a 7120 201 error code identifies
  240.        the errant memory chip as the sixth chip from the bottom (Bit 5) in the
  241.        fourth bank from the right (Bank 4) in a 256K system board machine.
  242.        
  243.  
  244.       Correcting Memory Errors
  245.        
  246.       Now that we have identified the problem chip, we should verify it by
  247.        replacing it with a spare chip and run the diagnostics again and see
  248.        whether the error is corrected.  If no spare chip is available,
  249.        exchange the suspect chip with another one in an adjacent bank.  If we
  250.        have correctly identified the problem chip, the diagnostics will
  251.        display a different memory code -- that of the location where we put
  252.        the suspected chip.
  253.        
  254.       If, however, the error code continues to identify the original
  255.        location, a problem may exist with the socket and you should contact
  256.        your dealer for assistance.è
  257.  
  258.                                          4
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.        
  268.       If the system board or expansion board switches are not set properly or
  269.        a chip is missing, the bit position in the error code may be AA, FF,
  270.        55, or 01.  If you are experiencing problems with more than one memory
  271.        chip, the bit position code displayed will be the sum (in Hexadecimal)
  272.        of the problem chip locations and consequently, will not match any of
  273.        the values in Table 1 or 2.  When this happens, the resultant error
  274.        code could be any number from FF to 00.  Diagnosis of the errant chips
  275.        will involve a trial and error process of switching several chips from
  276.        the identified row to an adjacent row.
  277.        
  278.  
  279.       Reseat Chips Before Switching
  280.        
  281.       Before switching chips in the "suspect" row, however, remove all chips
  282.        and reseat them in their sockets.  Run the diagnostics again.  Because
  283.        many parity problems are due to poor contacts between chips and
  284.        sockets, this trick may eliminate the parity error.  RAM chip failures
  285.        are rather rare.
  286.        
  287.       The most difficult parity error or memory error to locate is one which
  288.        occurs "intermittently".  For example, heat generated by expansion
  289.        boards, disk drives or other add-ons may cause a memory chip or some
  290.        other memory-related component to shift sufficiently to break the
  291.        electrical contact.  You may never find this particular problem since
  292.        the same set of conditions may not be duplicated exactly during
  293.        diagnostics.
  294.        
  295.  
  296.       A Simple, Do-It-Yourself Remedy
  297.        
  298.       What has been discussed here is a simple method to troubleshoot your
  299.        PC.  If in doubt, professional service technicians have the tools to
  300.        diagnose memory problems instantly.  But performing these simple checks
  301.        yourself can save you money, especially if the cause is a poorly
  302.        socketed chip.
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.                                          5
  325.